package com.cn.lyl.lawyer.dao;

import com.cn.lyl.lawyer.model.entity.LawyerRoleDependenceModel;

import java.util.List;

public interface LawyerRoleDependenceMapper {

    int insert(LawyerRoleDependenceModel lawyerRoleDependenceModel);
    int deleteByRoleId(Integer id);
    int deleteByLawyerId(Integer id);
    List<LawyerRoleDependenceModel> findByLawyerId(Integer id);
    List<LawyerRoleDependenceModel> findByRoleId(Integer id);
    int update(LawyerRoleDependenceModel lawyerRoleDependenceModel);
}
